package com.ymttest.business.datajob;

import com.ymttest.business.service.SellerProductCallService;

public class TestFunction {
	public static void pringTest(){
		System.out.println("hello");
	}
	
	public static void addProduct(String[] args) throws Exception{
		String productId = SellerProductCallService.addNewProductOnTime(Integer.parseInt(args[0]), args[1], null).getJSONObject("Data").getString("ProductID");
		System.out.println(productId);
	}
	
}
